home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / python2.6 / lib2to3 / fixes / fix_imports2.py < prev    next >
Encoding:
Python Source  |  2009-04-18  |  289 b   |  17 lines

  1. """Fix incompatible imports and module references that must be fixed after
  2. fix_imports."""
  3. from . import fix_imports
  4.  
  5.  
  6. MAPPING = {
  7.             'whichdb': 'dbm',
  8.             'anydbm': 'dbm',
  9.           }
  10.  
  11.  
  12. class FixImports2(fix_imports.FixImports):
  13.  
  14.     run_order = 7
  15.  
  16.     mapping = MAPPING
  17.